package com.sgb.kjwl.view.ui.activity.vehicleManagement;

import androidx.databinding.DataBindingUtil;

import com.sgb.kjwl.AppActivity;
import com.sgb.kjwl.R;
import com.sgb.kjwl.databinding.ActivityDriverCertificationBinding;
import com.sgb.kjwl.di.vehicleManagement.DaggerDriverCertificationComponent;
import com.sgb.kjwl.di.vehicleManagement.DriverCertificationModule;
import com.sgb.kjwl.viewmodel.vehicleManagement.DriverCertificationAtvModel;
import com.swgk.core.base.di.AppComponent;

import javax.inject.Inject;

/**
 *  添加车辆
 */

public class DriverCertificationActivity extends AppActivity {

    @Inject
    DriverCertificationAtvModel viewModel;

    ActivityDriverCertificationBinding binding;
    @Override
    protected void setupActivityComponent(AppComponent appComponent) {
        DaggerDriverCertificationComponent.builder().appComponent(appComponent).driverCertificationModule(new DriverCertificationModule(this)).build().inject(this);
    }

    @Override
    protected void initView() {
        binding = DataBindingUtil.setContentView(this, R.layout.activity_driver_certification);
        binding.setViewModel(viewModel);
        binding.include.titleView.setText("添加车辆");
    }
}
